<template>
  <div class="detail_problem">
    <div class="detail_problem_item" v-for="item in issue" :key="item.id">
      <p class="question">{{ item.question }}</p>
      <p class="answer">{{ item.answer }}</p>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    issue: {
      type: Array,
      default() {
        return [];
      },
    },
  },
};
</script>

<style lang="scss" scoped>
.detail_problem {
  padding: 0 20px;
  background-color: #fff;
  .detail_problem_item {
    margin-bottom: 10px;
    .question {
      margin-bottom: 10px;
      font-size: 14px;
      &::before {
        position: relative;
        left: -8px;
        top: 13px;
        content: "";
        display: block;
        width: 5px;
        height: 5px;
        border-radius: 50%;
        background-color: #f00;
      }
    }
    .answer {
      color: #787878;
    }
  }
}
</style>